package com.hry.store.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class Order {
    /** 主键 */
    private Integer orderId;

    /** 订单编号 */
    private Long orderNum;

    /** 用户邮箱 */
    private String userEmail;

    /** 收货地址id */
    private Integer shippingId;

    /** 支付类型 1--支付宝*/
    private Integer paymentType;

    /** 支付金额 */
    private BigDecimal payment;

    /** 支付状态 */
    private Integer paymentStatus;

    /** 发货时间 */
    private Date sendTime;

    /** 支付时间 */
    private Date paymentTime;

    /** 产品id */
    private Integer productId;

    /** 产品名称 */
    private String productName;

    /** 产品单价 */
    private BigDecimal productPrice;

    /** 产品数量 */
    private Integer productQuantity;

    /** 总价 */
    private BigDecimal productTotalPrice;

    /** 图片地址 */
    private String productImg;

    /** 版本id */
    private Integer versionId;

    /** 颜色分类 */
    private String colorName;

    /** 订单状态 */
    private Integer orderStatus;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    public Order(Integer orderId, Long orderNum, String userEmail, Integer shippingId, Integer paymentType, BigDecimal payment, Integer paymentStatus, Date sendTime, Date paymentTime, Integer productId, String productName, BigDecimal productPrice, Integer productQuantity, BigDecimal productTotalPrice, String productImg, Integer versionId, String colorName, Integer orderStatus, Date createTime, Date updateTime) {
        this.orderId = orderId;
        this.orderNum = orderNum;
        this.userEmail = userEmail;
        this.shippingId = shippingId;
        this.paymentType = paymentType;
        this.payment = payment;
        this.paymentStatus = paymentStatus;
        this.sendTime = sendTime;
        this.paymentTime = paymentTime;
        this.productId = productId;
        this.productName = productName;
        this.productPrice = productPrice;
        this.productQuantity = productQuantity;
        this.productTotalPrice = productTotalPrice;
        this.productImg = productImg;
        this.versionId = versionId;
        this.colorName = colorName;
        this.orderStatus = orderStatus;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Order() {
        super();
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Long getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Long orderNum) {
        this.orderNum = orderNum;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail == null ? null : userEmail.trim();
    }

    public Integer getShippingId() {
        return shippingId;
    }

    public void setShippingId(Integer shippingId) {
        this.shippingId = shippingId;
    }

    public Integer getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(Integer paymentType) {
        this.paymentType = paymentType;
    }

    public BigDecimal getPayment() {
        return payment;
    }

    public void setPayment(BigDecimal payment) {
        this.payment = payment;
    }

    public Integer getPaymentStatus() {
        return paymentStatus;
    }

    public void setPaymentStatus(Integer paymentStatus) {
        this.paymentStatus = paymentStatus;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public BigDecimal getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(BigDecimal productPrice) {
        this.productPrice = productPrice;
    }

    public Integer getProductQuantity() {
        return productQuantity;
    }

    public void setProductQuantity(Integer productQuantity) {
        this.productQuantity = productQuantity;
    }

    public BigDecimal getProductTotalPrice() {
        return productTotalPrice;
    }

    public void setProductTotalPrice(BigDecimal productTotalPrice) {
        this.productTotalPrice = productTotalPrice;
    }

    public String getProductImg() {
        return productImg;
    }

    public void setProductImg(String productImg) {
        this.productImg = productImg == null ? null : productImg.trim();
    }

    public Integer getVersionId() {
        return versionId;
    }

    public void setVersionId(Integer versionId) {
        this.versionId = versionId;
    }

    public String getColorName() {
        return colorName;
    }

    public void setColorName(String colorName) {
        this.colorName = colorName == null ? null : colorName.trim();
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}